//
//  NSBundle+MyLibrary.m
//  SMInterface
//
//  Created by 山刘 on 2018/10/18.
//  Copyright © 2018年 山刘. All rights reserved.
//

#import "NSBundle+MyLibrary.h"

@implementation NSBundle (MyLibrary)
+(NSBundle*)my_myLibraryBundle{
    return [self bundleWithURL:[self my_myLibraryBundleURL]];
}

+(NSURL*)my_myLibraryBundleURL{
    NSBundle *bundle = [NSBundle bundleForClass:[self class]];
    return [bundle URLForResource:@"SMResource" withExtension:@"bundle"];
}
@end
